<!-- 
    xigua easyMedia
    http://192.168.20.149:5175/webrtc?rtspUrl=rtsp://admin:hk12345678@192.168.10.220:554/Streaming/Channels/101
 -->
 <template>
    <div id="dom-id"></div>
</template>
   
<script>
import Player from 'xgplayer'
import FlvPlugin from 'xgplayer-flv'
import "xgplayer/dist/index.min.css"
export default {
    name: 'index1',
    data() {
        return {
            webRtcServer: null
        }
    },
    mounted() {
        new Player({
            id:'dom-id',
            isLive: true,
            plugins: [FlvPlugin],
            url: 'https://vsp2play.cucloud.cn:8083/SPb4ohbi65Wm/GSPb4ohbi65Wm-fzkr4qR6Bb.flv?sms=ad374a8f54820cc38a9a955d15&codeType=H265',
        })

    },
    beforeDestroy() {

    },
    methods: {
    }
}
</script>
   
<style scoped></style>